/*
 * @Author: Lakeiedward
 * @Date: 2022-02-27 00:22:01
 * @LastEditTime: 2022-02-28 20:08:58
 * @FilePath: \demo2\vue.config.js
 */
module.exports = {
  publicPath: "./",
  devServer: {
    host: "localhost",
    port: 8080,
    proxy: {
      "/api": {
        target: "http://mall-pre.springboot.cn",
        changeOrigin: true,
        pathRewrite: {
          "/api": "",
        },
      },
    },
  },
};

